package com.tudouji.project.flow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 流程对象 flowtemp
 * 
 * @author tudouji
 * @date 2021-05-20
 */
public class Flowtemp
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private String guid;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /**  */
    @Excel(name = "")
    private Integer type;

    /** 1正常 0停用 */
    @Excel(name = "1正常 0停用")
    private Integer status;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorid;

    /** 待处理通知模板id */
    @Excel(name = "待处理通知模板id")
    private String smsid;

    /** 拒绝通知模板id */
    @Excel(name = "拒绝通知模板id")
    private String refusesmsid;

    /** 关键数据查看权限 */
    @Excel(name = "关键数据查看权限")
    private String sensdataperms;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    private String busistatDick;

    private Integer busistatdick;

    public Integer getBusistatdick() {
        return busistatdick;
    }

    public void setBusistatdick(Integer busistatdick) {
        this.busistatdick = busistatdick;
    }

    public String getBusistatDick() {
        return busistatDick;
    }

    public void setBusistatDick(String busistatDick) {
        this.busistatDick = busistatDick;
    }

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOperatorid(String operatorid) 
    {
        this.operatorid = operatorid;
    }

    public String getOperatorid() 
    {
        return operatorid;
    }
    public void setSmsid(String smsid) 
    {
        this.smsid = smsid;
    }

    public String getSmsid() 
    {
        return smsid;
    }
    public void setRefusesmsid(String refusesmsid) 
    {
        this.refusesmsid = refusesmsid;
    }

    public String getRefusesmsid() 
    {
        return refusesmsid;
    }
    public void setSensdataperms(String sensdataperms) 
    {
        this.sensdataperms = sensdataperms;
    }

    public String getSensdataperms() 
    {
        return sensdataperms;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("name", getName())
            .append("type", getType())
            .append("status", getStatus())
            .append("operatorid", getOperatorid())
            .append("createtime", getCreatetime())
            .append("smsid", getSmsid())
            .append("refusesmsid", getRefusesmsid())
            .append("sensdataperms", getSensdataperms())
            .toString();
    }
}
